﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Icoders.MarketTracker.Web.Lib.Security
{
   public class FsrCustomIdentity : CustomIdentity
   {
       private int _areaId;
       private int _clientId;
       private int _userId;
       public FsrCustomIdentity(bool bIsAuthenticated, string sAuthenticationType, string sUserName, bool hasChangePassword,int area,int client,int userid) : base(bIsAuthenticated, sAuthenticationType, sUserName, hasChangePassword)
       {
           _clientId = client;
           _areaId = area;
           _userId = userid;
       }

       public int Area
       {
           get { return _areaId; }
       }
       public int Client
       {
           get { return _clientId; }
       }
       public int UserID
       {
           get { return _userId; }
       }
    }
}
